<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<link type="text/css" rel="stylesheet" href='<spring:url value="/resources/css/head.css"/>'/>
<script src='<spring:url value="/resources/js/common/MessageBox.js"/>'></script>
<html>
<head>
    <title></title>
</head>
<body>
<div class="row">
    <div class="logo"></div>
    <div class="username">
        <span id="showDate"></span>
        <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
        <c:if test="${user.type==0}">
            管理员
        </c:if>
        <c:if test="${user.type==1}">
            值班员
        </c:if>: ${user.name}
        <c:if test="${user.name!=null}">
            <a href="#" id="logout">注销</a>
        </c:if>
    </div>
</div>
</body>
<script src="<%=request.getContextPath() %>/resources/js/login/Head.js"></script>
</html>
